package com.property.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 业务-社区活动
 * </p>
 *
 * @author 刘煦煌
 * @since 2023-11-24
 */
@Getter
@Setter
  @TableName("biz_community_activities")
@ApiModel(value = "CommunityActivities对象", description = "业务-社区活动")
public class CommunityActivities implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("id")
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("标题")
      private String name;

      @ApiModelProperty("封面")
      private String cover;

      @ApiModelProperty("类型（1室内活动 2公益活动 3户外活动 4其他活动）")
      private Integer type;

      @ApiModelProperty("内容")
      private String content;

      @ApiModelProperty("活动地点")
      private String place;

      @ApiModelProperty("开始时间")
      private LocalDateTime startTime;

      @ApiModelProperty("截止时间")
      private LocalDateTime endTime;

      @ApiModelProperty("人数限制")
      private Integer maxCount;

      @ApiModelProperty("是否需要审核 1需要 2不需要")
      private Integer isAudit;

      @ApiModelProperty("创建时间")
      private LocalDateTime createTime;


}
